package com.fy.market.strategy.service.rule.chain;

import com.fy.market.strategy.model.entity.RuleActionEntity;
import com.fy.market.strategy.model.entity.RuleChainResultEntity;
import com.fy.market.strategy.service.rule.chain.ILogicChainArmory;

/**
 * @author fwq
 * @date 2025-09-18
 * @description 抽奖策略规则责任链接口
 */
public interface ILogicChain extends ILogicChainArmory {

    /**
     * 责任链接口
     *
     * @param userId     用户ID
     * @param strategyId 策略ID
     * @return 奖品ID
     */
    RuleChainResultEntity logic(Integer userId, Integer strategyId);

}
